<template>
  <div class="error-container">
    <div class="error-content">
      <h1 class="error-title">404</h1>
      <p class="error-message">抱歉，您访问的页面不存在</p>
      <div class="back-home-btn" @click="$router.push('/index')">返回工作台</div>
    </div>
  </div>
</template>

<script setup></script>

<style scoped lang="scss">
.error-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f5f5f5;

  .error-content {
    text-align: center;
    padding: 2rem;

    .error-title {
      font-size: 4rem;
      color: #333;
      margin-bottom: 0.5rem;
    }

    .error-message {
      font-size: 1.2rem;
      color: #666;
      margin-bottom: 2rem;
    }

    .back-home-btn {
      display: inline-block;
      padding: 0.8rem 2rem;
      background-color: #19af7d;
      color: white;
      border-radius: 4px;
      font-size: 1rem;
      transition: background-color 0.3s;
      cursor: pointer;


      &:hover {
        background-color: #15986a;
      }
    }
  }
}
</style>
